<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增学生详情')" />
    <th:block th:include="include :: bootstrap-fileinput-css"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-studentDetails-add">
        <div class="form-group">
            <label class="col-sm-3 control-label">姓名：</label>
            <div class="col-sm-8">
                <input name="name" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">性别：</label>
            <div class="col-sm-8">
                <input name="gender" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">民族：</label>
            <div class="col-sm-8">
                <input name="nationality" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">身份证号码：</label>
            <div class="col-sm-8">
                <input name="identificationNumber" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">政治面貌：</label>
            <div class="col-sm-8">
                <input name="politicalStatus" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">手机：</label>
            <div class="col-sm-8">
                <input name="mobilePhone" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">备用电话：</label>
            <div class="col-sm-8">
                <input name="backupPhone" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">招生老师：</label>
            <div class="col-sm-8">
                <input name="admissionsTeacher" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">招生老师：</label>
            <div class="col-sm-8">
                <input name="classTeacher" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">批次：</label>
            <div class="col-sm-8">
                <input name="batch" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">邮箱：</label>
            <div class="col-sm-8">
                <input name="mail" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">微信：</label>
            <div class="col-sm-8">
                <input name="wechat" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">毕业学校：</label>
            <div class="col-sm-8">
                <input name="graduatedSchool" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">毕业证书编号：</label>
            <div class="col-sm-8">
                <input name="graduationCertificateNumber" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">毕业日期：</label>
            <div class="col-sm-8">
                <input name="graduationDate" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">居住地：</label>
            <div class="col-sm-8">
                <input name="placeOfResidence" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">考成人高考考试所在省：</label>
            <div class="col-sm-8">
                <input name="examinationProvince" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">考成人高考考试所在市：</label>
            <div class="col-sm-8">
                <input name="examinationCity" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">考成人高考考试所在地区/县：</label>
            <div class="col-sm-8">
                <input name="examinationCounty" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">考成人高考考试所在详细地址：</label>
            <div class="col-sm-8">
                <input name="examinationBuilding" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">收取复习资料地址：</label>
            <div class="col-sm-8">
                <input name="reviewMaterialsAddress" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报1个院校名称：</label>
            <div class="col-sm-8">
                <input name="collegeName1" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报1报考专业：</label>
            <div class="col-sm-8">
                <input name="applicationMajor1" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报1层次：</label>
            <div class="col-sm-8">
                <input name="level1" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报1科类名称：</label>
            <div class="col-sm-8">
                <input name="subjectName1" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报1形式：</label>
            <div class="col-sm-8">
                <input name="modality1" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报2个院校名称：</label>
            <div class="col-sm-8">
                <input name="collegeName2" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报2报考专业：</label>
            <div class="col-sm-8">
                <input name="applicationMajor2" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报2层次：</label>
            <div class="col-sm-8">
                <input name="level2" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报2科类名称：</label>
            <div class="col-sm-8">
                <input name="subjectName2" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报2形式：</label>
            <div class="col-sm-8">
                <input name="modality2" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报3个院校名称：</label>
            <div class="col-sm-8">
                <input name="collegeName3" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报3报考专业：</label>
            <div class="col-sm-8">
                <input name="applicationMajor3" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报3层次：</label>
            <div class="col-sm-8">
                <input name="level3" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报3科类名称：</label>
            <div class="col-sm-8">
                <input name="subjectName3" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">志愿填报3形式：</label>
            <div class="col-sm-8">
                <input name="modality3" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">身份证正面照片：</label>
            <div class="col-sm-8">
                <input type="hidden" name="frontPhotoOfIdCard">
                <div class="file-loading">
                    <input class="form-control file-upload" id="frontPhotoOfIdCard" name="file" type="file">
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">身份证背面照片：</label>
            <div class="col-sm-8">
                <input type="hidden" name="backPhotoOfIdCard">
                <div class="file-loading">
                    <input class="form-control file-upload" id="backPhotoOfIdCard" name="file" type="file">
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">毕业证照片：</label>
            <div class="col-sm-8">
                <input type="hidden" name="photoOfGraduationCertificate">
                <div class="file-loading">
                    <input class="form-control file-upload" id="photoOfGraduationCertificate" name="file" type="file">
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">医学相关资格证照片：</label>
            <div class="col-sm-8">
                <input type="hidden" name="medicalCertificatePhotos">
                <div class="file-loading">
                    <input class="form-control file-upload" id="medicalCertificatePhotos" name="file" type="file">
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">蓝底照片：</label>
            <div class="col-sm-8">
                <input type="hidden" name="blueBackgroundPhoto">
                <div class="file-loading">
                    <input class="form-control file-upload" id="blueBackgroundPhoto" name="file" type="file">
                </div>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">提交人：</label>
            <div class="col-sm-8">
                <input name="submitter" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">提交时间：</label>
            <div class="col-sm-8">
                <input name="submissionTime" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">修改时间：</label>
            <div class="col-sm-8">
                <input name="changeTime" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">填写时长：</label>
            <div class="col-sm-8">
                <input name="fillInTime" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">填写设备：</label>
            <div class="col-sm-8">
                <input name="fillInEquipment" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">操作系统：</label>
            <div class="col-sm-8">
                <input name="operatingSystem" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">浏览器：</label>
            <div class="col-sm-8">
                <input name="browser" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">填写国家：</label>
            <div class="col-sm-8">
                <input name="fillInCountries" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">填写省：</label>
            <div class="col-sm-8">
                <input name="fillInProvince" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">填写市：</label>
            <div class="col-sm-8">
                <input name="fillInCity" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">现场确认地点：</label>
            <div class="col-sm-8">
                <input name="confirmTheLocationOnSite" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">成考成绩：</label>
            <div class="col-sm-8">
                <input name="testScores" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">录取学校：</label>
            <div class="col-sm-8">
                <input name="admissionSchool" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">录取专业：</label>
            <div class="col-sm-8">
                <input name="admissionMajor" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">考生号：</label>
            <div class="col-sm-8">
                <input name="studentNumber" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">学号：</label>
            <div class="col-sm-8">
                <input name="studentId" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">学历层次：</label>
            <div class="col-sm-8">
                <input name="educationalLevel" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">学校代码：</label>
            <div class="col-sm-8">
                <input name="schoolCode" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">所在校别：</label>
            <div class="col-sm-8">
                <input name="schoolType" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">备注：</label>
            <div class="col-sm-8">
                <input name="remark" class="form-control" type="text">
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: bootstrap-fileinput-js"/>
<script th:inline="javascript">
    var prefix = ctx + "easywenku/studentDetails"
    $("#form-studentDetails-add").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/add", $('#form-studentDetails-add').serialize());
        }
    }

    $(".file-upload").fileinput({
        uploadUrl: ctx + 'common/upload',
        maxFileCount: 1,
        autoReplace: true
    }).on('fileuploaded', function (event, data, previewId, index) {
        $("input[name='" + event.currentTarget.id + "']").val(data.response.url)
    }).on('fileremoved', function (event, id, index) {
        $("input[name='" + event.currentTarget.id + "']").val('')
    })
</script>
</body>
</html>
